import { useContext } from "react";
import ContextTodo from "../../../../store/contextTodo";

const ContextChild3 = () => {
  const context = useContext(ContextTodo)
    console.log('context',context)
  return (<div>
    子组件3,使用hook获取context
    <p>
      {
        context.title
      }
    </p>
  </div>)
}

export default ContextChild3